import React from 'react';
import { Route } from 'react-router-dom';
import OrderManagement from '../scenes/admin/orderManagement/orderManagement';
import GoodManagement from '../scenes/admin/goodManagement/index';
import ShelfManagement from '../scenes/admin/shelfManagement/index';
import BuildManagement from '../scenes/admin/buildManagement/index';

const adminRoutes = (
    <Route>
        <div className='ant-layout-content' style={{padding: '10px'}}>
            <Route path="/admin/orderm" component={OrderManagement} />
            <Route path="/admin/goodm" component={GoodManagement} />
            <Route path="/admin/shelfm" component={ShelfManagement} />
            <Route path="/admin/buildm" component={BuildManagement} />
        </div>
    </Route>
);
export default adminRoutes;
